# 定义所需的枚举类型和常量
from typing import List

class PluginCategory:
    DEMAND = "DEMAND"
    PLUGIN = "PLUGIN"

class ProductType:
    RED_PKG = 1
    RED_PCB = 2
    RED_PI = 3

class ProductSecondaryType:
    NORMAL = 10
    FOOTPRINT = 11
    SHAPE_FOOTPRINT = 12
    FLASH_FOOTPRINT = 13

class RInfo(object):
    Name: str = "RedEDA_RToolsPlugin" 
    Version: str = "0.2.0"
    CompatVersion: str = "0.1.0" 
    Required: bool = True
    Vendor: str = "上海弘快科技有限公司"
    Copyright: str = "@上海弘快科技有限公司" 
    License: str = ""
    Category: str = PluginCategory.PLUGIN 
    Supports: List[int] = [
        ProductType.RED_PKG, ProductType.RED_PCB,
        ProductSecondaryType.NORMAL, ProductSecondaryType.FOOTPRINT,
        ProductSecondaryType.SHAPE_FOOTPRINT, ProductSecondaryType.FLASH_FOOTPRINT,
        ProductType.RED_PI | ProductSecondaryType.NORMAL,
    ]
    Dependencies: List[str] = ["dep","dep2"]
    Description: str = "xxx"
    Url: str = "http://www.rededa.com"
    Arguments: list = []
